﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default"  Debug="true" %>
<%@ Import Namespace="System.Net.Mail"%>
<%@ Import Namespace="System.Web.Mail" %>
<%
string strTo = "olga@morlin.ru";
string strFrom = "webmaster@aspheute.com";
string strSubject = "Hi Chris";
SmtpClient client = new SmtpClient()
SmtpMail.Send(strFrom, strTo, strSubject,"A real nice body text here");

Response.Write("Email was queued to disk");
%>
